#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('oLschema2ldif-lib',
	source='lib.c',
	deps='samdb',
	)

bld.SAMBA_BINARY('oLschema2ldif',
	source='main.c',
	manpages='oLschema2ldif.1',
	deps='oLschema2ldif-lib cmdline',
	)

bld.SAMBA_BINARY('test_oLschema2ldif',
	source='test.c',
	deps='cmocka oLschema2ldif-lib',
	local_include=False,
	enabled=bld.CONFIG_SET('HAVE_FMEMOPEN'),
	install=False,
	)
